package com.bdqn.tour.entity;

/**
 * 将评论数据封装起来
 */
public class Xingon {
    private int chapin;//差评总数
    private int haopin;//好评总数
    private int zongpin;//中评总数

    public int getChapin() {
        return chapin;
    }

    public void setChapin(int chapin) {
        this.chapin = chapin;
    }

    public int getHaopin() {
        return haopin;
    }

    public void setHaopin(int haopin) {
        this.haopin += haopin;
    }

    public int getZongpin() {
        return zongpin;
    }

    public void setZongpin(int zongpin) {
        this.zongpin = zongpin;
    }
}
